package com.ohimy.util;

import java.util.Date;
import java.util.Locale;

import com.ocpsoft.pretty.time.PrettyTime;

public final class DateFormat {

	public static String format(Date date) {
		PrettyTime p = new PrettyTime(new Locale("ZH_CN"));
		return p.format(date);
	}
}
